package com.yh.search.service;

import com.lxw.framework.domain.course.CoursePub;
import com.lxw.framework.domain.course.TeachplanMediaPub;
import com.lxw.framework.domain.search.CourseSearchParam;
import com.lxw.framework.model.response.QueryResponseResult;

import java.util.Map;

public interface EsSearchService {
    /**
     * 课程带分页条件查询（带全文检索）
     * @param page
     * @param size
     * @param courseSearchParam
     * @return
     */
    QueryResponseResult list(int page, int size, CourseSearchParam courseSearchParam);

    Map<String, CoursePub> getall(String id);

    TeachplanMediaPub getmedia(String teachplanId);
}
